package com.liming.common.pojo.dto.aftersales;

import com.liming.common.pojo.dto.PageDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;

/**
 * @author liming
 * @date 2025/3/13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "客户评论分页查询参数")
public class CustomerReviewPageQuery extends PageDTO {

    @Schema(description = "用户昵称")
    private String nickname;

    @Schema(description = "商品名称")
    private String productName;

    @Schema(description = "订单号")
    private String orderNo;

    @Schema(description = "最低评分")
    private Float minRating;

    @Schema(description = "最高评分")
    private Float maxRating;

    @Schema(description = "开始时间")
    private LocalDate startTime;

    @Schema(description = "结束时间")
    private LocalDate endTime;

    @Schema(description = "评论类型 1 产品评价 2 订单评价")
    private Integer type;

    @Schema(description = "是否匿名评价 0 表示实名，1 表示匿名")
    private Integer anonymous;

    @Schema(description = "是否已回复 0 表示未回复，1 表示已回复")
    private Integer reply;
}
